import { http } from '@/utils/http'
import type { HotType } from '@/types/hot'
export const getHotGoodsAPI = (url: string, subType = '', page = 1, pageSize = 10) => {
  return http<HotType>({
    url,
    method: 'GET',
    data: {
      subType,
      page,
      pageSize,
    },
  })
}
